package cn.zyq.ykb.beans.task;

import cn.zyq.ykb.system.common.BaseBean;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 任务-做单素材对象 taskMaterial
 *
 * @author SystemAuth
 * @date 2023-05-22
 */
@Data
@Entity
@Table(name = "`taskMaterial`")
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class TaskMaterial  extends BaseBean implements Serializable {
    /**
     * 主键id，用于关联
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "JDBC")
    @Column(name = "`taskMaterialID`")
    @ApiModelProperty("主键id，用于关联")
    private Integer taskMaterialID;
    /**
     * 任务ID
     */
    @Column(name = "`taskID`")
    @ApiModelProperty("任务ID")
    private Integer taskID;
    /**
     * 任务要求
     */
    @Column(name = "`ask`")
    @ApiModelProperty("任务要求")
    private String ask;
    /**
     * 注意事项
     */
    @Column(name = "`note`")
    @ApiModelProperty("注意事项")
    private String note;
    /**
     * 流程文件
     */
    @Column(name = "`file`")
    @ApiModelProperty("流程文件")
    private String file;

}
